package ec.edu.cec.java.adv.archivos;

import java.io.File;
import java.util.Date;

public class LastModified {

	public static void main(String[] args) {
		File file = new File("c:/test/demo1.txt");
		Long lastModified = file.lastModified();
		System.out.println(lastModified);
		Date tipoFecha = new Date(lastModified);
		System.out.println(tipoFecha);

	}

}
